[INFO] fetching crate tshell 0.2.2...
[INFO] checking tshell-0.2.2 against master#af3c6e733a40e671550e0f0f5aeecaa13772ba56 for pr-74989
[INFO] extracting crate tshell 0.2.2 into /workspace/builds/worker-9/source
[INFO] validating manifest of crates.io crate tshell 0.2.2 on toolchain af3c6e733a40e671550e0f0f5aeecaa13772ba56
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking crates.io crate tshell 0.2.2
[INFO] finished tweaking crates.io crate tshell 0.2.2
[INFO] tweaked toml for crates.io crate tshell 0.2.2 written to /workspace/builds/worker-9/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0985fb01f6cbbedd79b3c49c8741119d13c7379ed57be003cd5acab2a7b902d7
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "0985fb01f6cbbedd79b3c49c8741119d13c7379ed57be003cd5acab2a7b902d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0985fb01f6cbbedd79b3c49c8741119d13c7379ed57be003cd5acab2a7b902d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0985fb01f6cbbedd79b3c49c8741119d13c7379ed57be003cd5acab2a7b902d7", kill_on_drop: false }`
[INFO] [stdout] 0985fb01f6cbbedd79b3c49c8741119d13c7379ed57be003cd5acab2a7b902d7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+af3c6e733a40e671550e0f0f5aeecaa13772ba56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ec32860d3cd96a881524f1de86910e683155df7a41042b29ff8f471e338b4581
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "ec32860d3cd96a881524f1de86910e683155df7a41042b29ff8f471e338b4581", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.77
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]     Checking winapi v0.2.8
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking utf8-ranges v0.1.3
[INFO] [stderr]     Checking regex-syntax v0.3.9
[INFO] [stderr]     Checking bitflags v0.4.0
[INFO] [stderr]     Checking encode_unicode v0.1.3
[INFO] [stderr]     Checking unicode-width v0.1.8
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]     Checking memchr v0.1.11
[INFO] [stderr]     Checking thread-id v2.0.0
[INFO] [stderr]     Checking nix v0.5.1
[INFO] [stderr]     Checking thread_local v0.2.7
[INFO] [stderr]     Checking aho-corasick v0.5.3
[INFO] [stderr]     Checking regex v0.1.80
[INFO] [stderr]     Checking env_logger v0.3.5
[INFO] [stderr]     Checking rustyline v1.0.0
[INFO] [stderr]     Checking tshell v0.2.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/commands.rs:10:24
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub type CallBack<T> = Fn(HashMap<String, &str>, &mut Option<T>, &HashMap<String, String>) -> CommandResult<Option<String>>;
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(HashMap<String, &str>, &mut Option<T>, &HashMap<String, String>) -> CommandResult<Option<String>>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/commands.rs:312:42
[INFO] [stdout]     |
[INFO] [stdout] 312 |             context: Arc::new(Mutex::new((context)))
[INFO] [stdout]     |                                          ^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead.
[INFO] [stdout]    --> src/commands.rs:394:24
[INFO] [stdout]     |
[INFO] [stdout] 394 |         let home_dir = env::home_dir()
[INFO] [stdout]     |                        ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/commands.rs:10:24
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub type CallBack<T> = Fn(HashMap<String, &str>, &mut Option<T>, &HashMap<String, String>) -> CommandResult<Option<String>>;
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(HashMap<String, &str>, &mut Option<T>, &HashMap<String, String>) -> CommandResult<Option<String>>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/commands.rs:312:42
[INFO] [stdout]     |
[INFO] [stdout] 312 |             context: Arc::new(Mutex::new((context)))
[INFO] [stdout]     |                                          ^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_left`: superseded by `trim_start`
[INFO] [stdout]    --> src/commands.rs:321:42
[INFO] [stdout]     |
[INFO] [stdout] 321 |         let mut levels: Vec<&str> = line.trim_left().split_whitespace().collect();
[INFO] [stdout]     |                                          ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead.
[INFO] [stdout]    --> src/commands.rs:394:24
[INFO] [stdout]     |
[INFO] [stdout] 394 |         let home_dir = env::home_dir()
[INFO] [stdout]     |                        ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `core::str::<impl str>::trim_left`: superseded by `trim_start`
[INFO] [stdout]    --> src/commands.rs:321:42
[INFO] [stdout]     |
[INFO] [stdout] 321 |         let mut levels: Vec<&str> = line.trim_left().split_whitespace().collect();
[INFO] [stdout]     |                                          ^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 4 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `args`
[INFO] [stdout]   --> examples/example.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn world(args: HashMap<String, &str>, o_context: &mut Option<Context>, history: &HashMap<String, String>) -> CommandResult<Option<String>> {
[INFO] [stdout]    |          ^^^^ help: if this is intentional, prefix it with an underscore: `_args`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `o_context`
[INFO] [stdout]   --> examples/example.rs:12:39
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn world(args: HashMap<String, &str>, o_context: &mut Option<Context>, history: &HashMap<String, String>) -> CommandResult<Option<String>> {
[INFO] [stdout]    |                                       ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_o_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `o_context`
[INFO] [stdout]   --> examples/example.rs:20:42
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn darkness(args: HashMap<String, &str>, o_context: &mut Option<Context>, history: &HashMap<String, String>) -> CommandResult<Option<Stri...
[INFO] [stdout]    |                                          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_o_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `history`
[INFO] [stdout]   --> examples/example.rs:20:75
[INFO] [stdout]    |
[INFO] [stdout] 20 | ...text: &mut Option<Context>, history: &HashMap<String, String>) -> CommandResult<Option<String>> {
[INFO] [stdout]    |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_history`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `o_context`
[INFO] [stdout]   --> examples/example.rs:30:45
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn new_context(args: HashMap<String, &str>, o_context: &mut Option<Context>, history: &HashMap<String, String>) -> CommandResult<Option<S...
[INFO] [stdout]    |                                             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_o_context`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `history`
[INFO] [stdout]   --> examples/example.rs:30:78
[INFO] [stdout]    |
[INFO] [stdout] 30 | ...text: &mut Option<Context>, history: &HashMap<String, String>) -> CommandResult<Option<String>> {
[INFO] [stdout]    |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_history`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> examples/example.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let mut context = Context::default();
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> examples/example.rs:43:9
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let mut o_context = Some(context);
[INFO] [stdout]    |         ----^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 8.53s
[INFO] running `Command { std: "docker" "inspect" "ec32860d3cd96a881524f1de86910e683155df7a41042b29ff8f471e338b4581", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ec32860d3cd96a881524f1de86910e683155df7a41042b29ff8f471e338b4581", kill_on_drop: false }`
[INFO] [stdout] ec32860d3cd96a881524f1de86910e683155df7a41042b29ff8f471e338b4581
